From: Eh2406 Date: Fri, 2 Mar 2018 13:49:42 +0000 (-0500) Subject: This test should pass if we have tried to `update registry` evan if the command other... X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~68^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=d9c97debbbb3dc1afead9b699f07c90628ee3006;p=cargo.git This test should pass if we have tried to `update registry` evan if the command otherwise fails --- diff --git a/tests/testsuite/generate_lockfile.rs b/tests/testsuite/generate_lockfile.rs index efd0c6124..8419df169 100644 --- a/tests/testsuite/generate_lockfile.rs +++ b/tests/testsuite/generate_lockfile.rs @@ -88,7 +88,7 @@ fn no_index_update() { .build(); assert_that(p.cargo("generate-lockfile"), - execs().with_status(0).with_stdout("") + execs().with_stdout("") .with_stderr_contains(" Updating registry `https://github.com/rust-lang/crates.io-index`")); assert_that(p.cargo("generate-lockfile").masquerade_as_nightly_cargo().arg("-Zno-index-update"),